package com.anyou.mall.platform.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
* @Description: 星级会员DTO
* @author: ylj
* @date: 2022/3/28 10:06
*/
@Data
@ApiModel(value = "星级会员DTO")
public class StarMemberDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "1:优惠价收费   2:一口价收费")
    @NotNull(message = "收费类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "优惠百分比")
    @NotNull(message = "优惠百分比不能为空")
    private Double rate;
}
